package com.ces.knacky.controller.tools;

import java.util.List;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.ces.knacky.framework.controller.ListController;

@Controller
public class ListRoleController<RoleTable> extends ListController<RoleTable> {

	@RequestMapping("/listRole.htm")
	public String execute(){
		listEntity = (List<RoleTable>) commonService.list("SELECT role from RoleTable role");
		return "listRole";
	}
}
